package com.baox.agridata.synchronous.service.shanxi;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.baox.agridata.synchronous.entity.quanguo.McSzqyxx;
import com.baox.agridata.synchronous.entity.shanxi.TBASEDesignatedPigSlaughteringCompany;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface TBASEDesignatedPigSlaughteringCompanyService {


    /**
     * 查询全国屠宰场数据
     *
     * @param SlaughterMid
     * @return
     */
    Map getBASEDesignatedPigSlaughteringCompany(String SlaughterMid);


    /**
     * 通过id查询数据是否存在
     *
     * @param mid
     * @return
     */
    Integer checkBASEDesignatedPigSlaughteringCompanyIsExist(String mid);


    /**
     * 批量插入全国生猪定点屠宰场数据
     *
     * @param list
     * @return
     */
    Integer batchInsertDesignatedPigSlaughteringCompany(List<TBASEDesignatedPigSlaughteringCompany> list);


    /**
     * 更新生猪定点屠宰场数据
     *
     * @param mcSzqyxx
     * @return
     */
    Integer updateTBASEDesignatedPigSlaughteringCompany(McSzqyxx mcSzqyxx);
}



